﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace nanhua.BookStore.Entitys.OrderAggregate
{
    public class OrderDetail:Entity<Guid>
    {
        public virtual string ProductCode { get; private set; }
        public virtual decimal Price { get; private set; }

        protected OrderDetail() 
        {
        }

        internal OrderDetail(Guid id,string productCode, decimal price):base(id)
        {
            this.ProductCode = productCode;
            this.Price = price;
        }
    }
}
